package com.xm.entity;

import java.sql.Date;

/**
 * 留言板实体类
 * 
 * @author
 * 
 */
public class Message {
	private int id;
	private String name;
	private String tel;
	private String email;
	private String content;
	private Date submitTime;
	private String state;
	private Date replytime;
	private String remark;

	public Date getSubmitTime() {
		return submitTime;
	}

	public void setSubmitTime(Date submitTime) {
		this.submitTime = submitTime;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Date getReplytime() {
		return replytime;
	}

	public void setReplytime(Date replytime) {
		this.replytime = replytime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Message(int id, String name, String tel, String email, String content, Date submitTime, String state,
			Date replytime, String remark) {
		super();
		this.id = id;
		this.name = name;
		this.tel = tel;
		this.email = email;
		this.content = content;
		this.submitTime = submitTime;
		this.state = state;
		this.replytime = replytime;
		this.remark = remark;
	}

	public Message(int id,String state, String remark) {
		super();
		this.id = id;
		this.state = state;
		this.remark = remark;
	}

	public Message() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "Message [id=" + id + ", name=" + name + ", tel=" + tel + ", email=" + email + ", content=" + content
				+ ", submitTime=" + submitTime + ", state=" + state + ", replytime=" + replytime + ", remark=" + remark
				+ "]";
	}

}